package delayed.network;

public class ConstantBandwidth implements Network {

	private double bandwidth;

	public ConstantBandwidth(double bandwidth) {
		this.bandwidth = bandwidth;
	}

	public long timeToSend(int size) {
		return (long) (size / this.bandwidth);
	}

}